$OpenBSD: patch-external_librevenge_ExternalProject_librevenge_mk,v 1.3 2016/03/01 21:39:58 robert Exp $
--- external/librevenge/ExternalProject_librevenge.mk.orig.port	Wed Feb 10 14:26:55 2016
+++ external/librevenge/ExternalProject_librevenge.mk	Wed Feb 10 14:27:04 2016
@@ -34,6 +34,7 @@ $(call gb_ExternalProject_get_state_target,librevenge,
 			--disable-generators \
 			--without-docs \
 			$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
+			CPPFLAGS="-fPIC -DPIC" LDFLAGS="-fPIC -DPIC" \
 			CXXFLAGS="$(CXXFLAGS) $(if $(SYSTEM_BOOST),$(BOOST_CPPFLAGS),-I$(call gb_UnpackedTarball_get_dir,boost))" \
 			$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
 			$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
